import request from '@/utils/request'

export default {
    schema() {
        return request({
            // baseURL: '/code-executor',
            url: '/code-executor/schema',
            method: 'get',
        })
    },
    table(params) {
        return request({
            // baseURL: '/code-executor',
            url: '/code-executor/table',
            method: 'get',
            params
        })
    },
    column(params) {
        return request({
            // baseURL: '/code-executor',
            url: '/code-executor/column',
            method: 'get',
            params
        })
    },
}
